<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>24.属性</title>
	</head>
	<body>
		<script type="text/javascript">
			let reg=/\w/g;
			console.log(reg.global);
			console.log(reg.ignoreCase);
			console.log(reg.multiline);
			console.log(reg.source);  /* 表达式*/
			console.log(reg.lastIndex); 
		</script>
	</body>
</html>
